package com.espirit.weixin.common;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;


public class Result {

	private Integer errcode;
	
	private String errmsg;
	
	private String type;
	
	@JsonProperty("media_id")
	private String mediaId;
	
	@JsonProperty("created_at")
	private Long createdAt;

	public Integer getErrcode() {
		return errcode;
	}

	public void setErrcode(Integer errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@JsonIgnore
	public String getMediaId() {
		return mediaId;
	}

	@JsonIgnore
	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	@JsonIgnore
	public Long getCreatedAt() {
		return createdAt;
	}

	@JsonIgnore
	public void setCreatedAt(Long createdAt) {
		this.createdAt = createdAt;
	}
}
